﻿using RuoVea.GoFastdfs.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RuoVea.GoFastdfs.Service.Inserface
{
    public interface IFileService
    {
        /// <summary>
        /// 获取一级目录
        /// </summary>
        /// <param name="peersGroupName"></param>
        /// <param name="serverAddress"></param>
        /// <returns></returns>
         public List<FileResult> getParentFile(String peersGroupName, String serverAddress);

        /// <summary>
        /// 获取指定目录
        /// </summary>
        /// <param name="showUrl"></param>
        /// <param name="serverAddress"></param>
        /// <param name="dir"></param>
        /// <returns></returns>
        public  List<FileResult> getDirFile(String showUrl, String serverAddress, String dir);
    }
}
